import axios from '@/http/index';
/* 运维事件单外层数据接口 */
export function getFmbizs() {
  return axios({
    url: '/monitor/fmbizCount/getFmbizs',
    method: 'post'
  });
}
/* 运维事件单数量监控 */
export function getFmkbSysValues() {
  return axios({
    url: '/monitor/fmbizCount/getFmkbSysValues',
    method: 'post'
  });
}
/* 运维事件单数量监控--下钻列表 */
export function getFmkbSysValueList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getFmkbSysValueList',
    method: 'post',
    data: option
  });
}
/* 导出运维事件单各个系统预警/告警/积压阈值表 */
export function exportFmbizThreshold(option: string) {
  return axios({
    url: '/monitor/fmbizCount/exportFmbizThreshold',
    method: 'post',
    data: option
  });
}
/* 导出运维事件单各个系统预警/告警/积压下钻列表 */
export function exportFmkbSysValueList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/exportFmkbSysValueList',
    method: 'post',
    data: option
  });
}
/* 运维事件单下钻列表接口 */
export function getFmbizPagerList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getFmbizPagerList',
    method: 'post',
    data: option
  });
}
/* 运维事件单下钻列表--异常待处理接口 */
export function fmBizSummaryList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/fmBizSummaryList',
    method: 'post',
    data: option
  });
}
/*疑难事件-详情 */
export function getDifficultEventsList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getDifficultEventsList',
    method: 'post',
    data: option
  });
}
/* 运维事件单折线图工单总量接口 */
export function getFmbizTotal() {
  return axios({
    url: '/monitor/fmbizCount/getFmbizTotal',
    method: 'post'
  });
}
/* 运维事件单折线图重点系统接口 */
export function getFmbizTotalBySys() {
  return axios({
    url: '/monitor/fmbizCount/getFmbizTotalBySys',
    method: 'post'
  });
}
/* 导出文件 */
export function download(option: string) {
  return axios({
    url: '/monitor/count/download',
    method: 'get',
    params: option,
    responseType: 'blob'
  });
}
/* 运维事件单导出获取文件名 */
export function exportFmBiz(option: string) {
  return axios({
    url: '/monitor/fmbizCount/exportFmBiz',
    method: 'post',
    data: option
  });
}
/* 运维事件单导出所有异常项 */
export function fmBizSummaryExport(option: string) {
  return axios({
    url: '/monitor/fmbizCount/fmBizSummaryExport',
    method: 'post',
    data: option
  });
}
export function exportDiff(option: string) {
  return axios({
    url: '/monitor/fmbizCount/exportDiff',
    method: 'post',
    data: option
  });
}
/* 所有系统信息-下拉列表 */
export function changeOrganization() {
  return axios({
    url: '/monitor/details/changeOrganization',
    method: 'post'
  });
}
/* 监控事件单-当前处理下钻（分五类）*/
export function getPendingCountPager(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getPendingCountNewPager',
    method: 'post',
    data: option
  });
}
/* 监控事件单-当前处理下钻-不同类型或许列表（分五类）*/
export function getPendingCountPagerByType(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getPendingCountPagerByType',
    method: 'post',
    data: option
  });
}
/* 运维事件单系统汇总分类 */
export function getFmBizBySysList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/getFmBizBySysList',
    method: 'post',
    data: option
  });
}
/* 运维事件单系统汇总分类--导出 */
export function GetExportFmBizBySysList(option: string) {
  return axios({
    url: '/monitor/fmbizCount/exportGetFmBizBySysList',
    method: 'post',
    data: option
  });
}
/* 运维事件单导出各类所属系统汇总表--导出 */
export function fmBizBySysSummaryExport(option: string) {
  return axios({
    url: '/monitor/fmbizCount/fmBizBySysSummaryExport',
    method: 'post',
    data: option
  });
}
/* 流程记录 */
export function pubflowlist(option: string) {
  return axios({
    url: '/monitor/count/pubflowlist',
    method: 'post',
    data: option
  });
}
/* 查看详情*/
export function selectFmBizMonitorById(option: string) {
  return axios({
    url: '/monitor/fmbizCount/selectFmBizMonitorById',
    method: 'post',
    data: option
  });
}
// /*当前紧急-列表 */
// export function getPendingEmergencyList(option: string) {
//   return axios({
//     url: '/monitor/fmbizCount/getPendingEmergencyList',
//     method: 'post',
//     data: option
//   });
// }
// /*紧急超时-列表 */
// export function getEmergencyTimeoutList(option: string) {
//   return axios({
//     url: '/monitor/fmbizCount/getEmergencyTimeoutList',
//     method: 'post',
//     data: option
//   });
// }
// /*领取超时-列表 */
// export function getCollectionTimeoutList(option: string) {
//   return axios({
//     url: '/monitor/fmbizCount/getCollectionTimeoutList',
//     method: 'post',
//     data: option
//   });
// }
// /*关联超时-列表 */
// export function getFmBizRelationIssueList(option: string) {
//   return axios({
//     url: '/monitor/fmbizCount/getFmBizRelationIssueList',
//     method: 'post',
//     data: option
//   });
// }
// /* 数据变更超时-列表 */
// export function getCmBizSjTimeoutList(option: string) {
//   return axios({
//     url: '/monitor/fmbizCount/getCmBizSjTimeoutList',
//     method: 'post',
//     data: option
//   });
// }

// /* 监控事件单-处理超时 */
// export function getHandleTimeoutList(option: string) {
//   return axios({
//     url: '/monitor/fmbizCount/getHandleTimeoutList',
//     method: 'post',
//     data: option
//   });
// }
